package com.wx.chapter8.homework10;

/**
 * ClassName:HomeWork10
 * Package :com.wx.chapter8.homework10
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/5/29 - 19:00
 */
public class HomeWork10 {
    public static void main(String[] args) {
        Doctor doctor1 = new Doctor("jack", 20, "牙科医生", '男', 20000);
        Doctor doctor2 = new Doctor("jack", 21, "牙科医生", '男', 20000);
        System.out.println(doctor1.equals(doctor2));
    }
}
